import { useStorage } from '@/utils/storeage';

import { siteinfo } from "@/siteinfo";

const host = () => {
	return siteinfo.siteroot;

};

const appid = () => {
	return siteinfo.app_id;
};

const developmentUrl = `${host()}/app/ycSurname/api/`;

const productionUrl = `${host()}/app/ycSurname/api/`;

const baseUrl = process.env.NODE_ENV === 'development' ? developmentUrl : productionUrl;


export default {
	baseUrl,
	appid,
};